package com.zjj.learn.designmodel.pattern.decorator;

/**具体构建角色：炒饭类
 * *** @author zjj_admin
 * *** 2022/4/11 21:28
 */
public class FiredRice extends FastFood{

    public FiredRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
